<%@ page language="java" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html lang="cn">
<head>
<meta charset="utf-8">
<meta name="viewport"  content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<title>米立贷官网后台管理系统</title>
<link href="../asset/css/bootstrap.min.css" rel="stylesheet">
<link href="../asset/css/font-awesome.css?v=4.4.0" rel="stylesheet">
<link href="../asset/css/animate.css" rel="stylesheet">
<link href="../asset/css/style.css" rel="stylesheet">
<link href="../asset/css/login.css" rel="stylesheet">
<script src="../asset/js/jquery.min.js?v=2.1.4" type="text/javascript"></script>
<script src="../asset/js/encrypt/md5.js" type="text/javascript"></script>
<!--[if lt IE 9]>
	<meta http-equiv="refresh" content="0;url=ie.do" />
<![endif]-->
<script>
	if (window.top !== window.self) {
		window.top.location = window.location;
	}
</script>
</head>
<body class="signin">
	<div class="signinpanel">
		<div class="row">
			<div class="col-sm-7">
				<div class="signin-info">
					<div class="logopanel m-b">
						<h1>杭州金投信用有限公司</h1>
					</div>
					<div class="m-b"></div>
					<h4>
						欢迎使用 <strong>米立贷</strong>
					</h4>
					<ul class="m-b">
						<li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> 官网后台管理系统</li>
					</ul>
				</div>
			</div>
			<div class="col-sm-5">
				<form action="" method="post">
					<h4 class="no-margins">登录：</h4>
					<p class="m-t-md">米立贷官网后台管理系统</p>
					<input type="text" id="accounts" name="accounts"
						class="form-control uname" placeholder="用户名" /> 
					<input type="password" id="password" name="password"
						class="form-control pword m-b" placeholder="密码" />
					<c:choose>
						 <c:when test="${needcode=='1'}"> 
							<input type="text" id="mycode" name="mycode"  class="form-control msg" placeholder="短信验证码"/> 
							<input type="button" id="btn" class="btn btn-success btn-block" value="获取验证码" onclick="sendSms(this)" /> 
						</c:when>
						<c:otherwise> 
							<input type="hidden" id="mycode" name="mycode" value="0000" class="form-control msg"  placeholder="短信验证码"/> 
						</c:otherwise>
					</c:choose>							
					<h4 class="text-danger" id="msgbak">${msg}</h4>
					<!--  <a href="">忘记密码了？</a> -->
					<button type="button" class="btn btn-success btn-block" onclick="login();">登录</button>
				</form>
			</div>
		</div>
		<div class="signup-footer">
			<div class="pull-left">&copy; 2017 All Rights Reserved. HFI</div>
		</div>
	</div>
</body>
<script src="../asset/js/page/login/login.js" type="text/javascript"></script>
</html>
